<div class="modal-header">
    <h4 class="modal-title">申请信息</h4>
</div>
<div class="modal-body">
    <div class="container-fluid form-horizontal ">
      <div class="col-xs-12 ">
          <div class="form-group">
              <label class="col-xs-3 control-label">申请评星级别</label>
              <div class="col-xs-8">
                  <ui-select ng-model="obj.apply" theme="bootstrap" ng-change="change(obj.apply)">
                      <ui-select-match placeholder="请选择一个申请级别">{{$select.selected.apply_title}}</ui-select-match>
                      <ui-select-choices repeat="category as category in categoryArr | filter: $select.search">
                        <span ng-bind-html="category.apply_title | highlight: $select.search"></span>
                      </ui-select-choices>
                  </ui-select>
              </div>
          </div>
          <div class="form-group" style="padding:10px">
              <label class="col-xs-3 control-label">申请资料</label>
              <div class="col-sm-4">
                  <button class="btn m-b-xs w-sm btn-info" ng-click="image()">
                      <i class="fa fa-file-image-o"></i> 上传文件
                  </button>                    
              </div>
          </div>
          
          <div class="col-sm-8 col-sm-offset-3" style="" ng-repeat="item in array">           
              <div class="col-sm-4">
                  <img ng-src="{{item}}" width="100%" height="100"  ng-show="item.lastIndexOf('.pdf')=='-1'">
                  <a href= "{{item}}" target="_Blank" ng-show="item.lastIndexOf('.pdf')!='-1'">{{item}}</a>
                  <a type = 'button' class="btn-xs m-b-xs w-sm btn-danger" ng-click="del($index)">删除</a>	
              </div> 
          </div>   
      </div>
    </div>
</div>
<div class="modal-footer">
    <button class="btn btn-primary" type="button" ng-click="ok()">OK</button>
    <button class="btn btn-warning" type="button" ng-click="cancel()">返回</button>
</div>


